Total Complexity | 34 |
Dependencies | 6 |
Dependents | 6 |
Total lines | 404 |
Lines of code | 265 |
Logical lines of code | 65 |
Comment lines | 95 |
Methods | 16 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
save() | 44 | 10 | 51 | |
getByOrderNumber() | 46 | 2 | 51 | |
getItemsByCustomsDeclarationId() | 61 | 4 | 14 | |
declarationToDbArray() | 57 | 2 | 17 | |
saveItem() | 60 | 2 | 15 | |
deleteItems() | 65 | 3 | 9 | |
getCustomsDeclarationItemRows() | 59 | 1 | 22 | |
createOrAlterTable() | 59 | 1 | 21 | |
createOrAlterItemTable() | 59 | 1 | 21 | |
delete() | 66 | 2 | 8 | |
declarationItemToDbArray() | 58 | 1 | 15 | |
__construct() | 77 | 1 | 4 | |
getIdByOrderNumber() | 68 | 1 | 8 | |
deleteItem() | 78 | 1 | 3 | |
dropItems() | 79 | 1 | 3 | |
drop() | 79 | 1 | 3 |